<?php  
namespace app\admin\controller;
use think\Controller;
class Base extends Controller{
	public function __construct(){
		parent::__construct();
		if(session('adminname')==''){
			$this->error('请先登录','Admin/login');
		}
	}
}
?>